/**
 * 
 */
package decorators.decorator;

import decorators.beverage.Beverage;

/**
 * @author hoannguyen
 *
 */
public class Mocha extends CondimentDecorator{

	private static final float COST = 3f;  
	
	public Mocha(Beverage beverage) {
		super(beverage);
	}

	@Override
	public float cost() {
		return this.beverage.cost() + COST;
	}

	/* (non-Javadoc)
	 * @see decorators.beverage.Beverage#getDescription()
	 */
	@Override
	public String getDescription() {
		
		return this.beverage.getDescription() + ", Mocha"; 
	}
	
	
}
